package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.WhStockOutGoodsLog;
import com.dingreading.cloud.common.util.PageUtil;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.Date;
import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface WhStockOutGoodsLogService extends IService<WhStockOutGoodsLog> {

    List<WhStockOutGoodsLog> getOutGoodsLog(String orderCode, String outCode, Long shopCartId, Long goodsTypeId);

    boolean setRefund(List<Long> id, String staffUid, String staffName, Date time);

    Page<WhStockOutGoodsLog> pageList(PageUtil pageUtil, String keyword, Integer status, Integer stockOutMethod, String beginDate, String endDate);

    List<WhStockOutGoodsLog> getExportList(String keyword, Integer status, Integer stockOutMethod, String beginDate, String endDate);

}
